package com.raycloud.java.dada.enums;

/**
 * Created by:  intelliJ IDEA
 *
 * @Author albert
 * @Description:取消来源枚举
 * @Date:2017/7/13 上午10:22
 * @package:com.raycloud.java.dada.enums
 * @Modified By:
 */
public enum CancelFromEnum {
    DADA_DELIVER_CANCEL(1,"达达配送员取消"),
    MERCHANT_CANCEL(2,"商家主动取消"),
    SYS_CUS_CANCEL(3,"系统或客服取消"),
    DEFAULT(0,"默认值");

    private int code;
    private String name;
    CancelFromEnum(int code, String name){
        this.code = code;
        this.name = name;
    }

    public int getCode(){
        return code;
    }
    public String getName(){
        return name;
    }
}
